Allow wildcard patterns in GroupID column values#367
Merged
rrivera747 merged 9 commits intodevelopfrom Mar 11, 2026
Merged
Conversation
Co-authored-by: rrivera747 <107584474+rrivera747@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Allow wildcard in GroupID names for row sharing
Allow wildcard patterns in GroupID column values
Mar 9, 2026
Contributor
|
GroupID matching previously supported only |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds wildcard (*) support for matching GroupID column values so rows can be shared across many groups without enumerating each exact group name.
Changes:
- Updated
TableView::isEntryInGroupColto useStringMacros::wildCardMatch(storedPattern, groupNeedle)instead of exact==. - Expanded
StringMacros::wildCardMatchto support*anywhere in the pattern (not just leading/trailing). - Introduced additional trace/debug logging in group row selection and wildcard matching paths.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
otsdaq/TableCore/TableView.cc |
Uses wildcard matching for GroupID membership checks; adds verbose debug/trace logging in group filtering and token parsing. |
otsdaq/Macros/StringMacros.cc |
Extends wildcard matching implementation to handle internal *; adds trace logging inside the matcher. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
… wildcard only for membership checks; remove noisy debug logging Co-authored-by: rrivera747 <107584474+rrivera747@users.noreply.github.com>
Co-authored-by: rrivera747 <107584474+rrivera747@users.noreply.github.com>
eflumerf
approved these changes
Mar 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TableView::isEntryInGroupColwithStringMacros::wildCardMatchto support wildcard patterns (e.g.,<group>-*) in GroupID column valuesStringMacros.his already included inTableView.cc(confirmed at line 2)groupNeedle(specific group being searched) is the test string (second arg) — consistent withinWildCardSetconventiongroupIDList != nullptr(called byremoveRowFromGroupto build group list), and wildcard only whengroupIDList == nullptr(pure membership check)__COUTS__(2)debug logging ingetGroupRowsInVectorsloop (COUTS(2) is lower severity than COUT and not printed normally)__COUTT__trace logging inisEntryInGroupCol; fix quoting bug in "is in group" message ("!'"→"'!")__COUTT__fromStringMacros::wildCardMatch(widely-used utility)Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.